package com.drama.api.sys.user.dao;

import com.drama.api.sys.user.domain.po.SysUserPO;
import com.drama.api.sys.user.domain.vo.SysUserRoleVO;
import com.drama.api.sys.user.domain.vo.SysUserSearchVO;
import com.drama.api.sys.user.domain.vo.SysUserVO;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface SysUserDao extends Mapper<SysUserPO> {

    List<SysUserVO> getList(SysUserSearchVO searchVO);

    List<SysUserRoleVO> getUserRole(SysUserVO vo);
}